﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DTO_Contactcs
/// </summary>
public class DTO_Contactcs
{
    private string _name;

    public string Name
    {
        get { return _name; }
        set { _name = value; }
    }
    private bool _gender;

    public bool Gender
    {
        get { return _gender; }
        set { _gender = value; }
    }
    private string _address;

    public string Address
    {
        get { return _address; }
        set { _address = value; }
    }
    private string _tell;

    public string Tell
    {
        get { return _tell; }
        set { _tell = value; }
    }
    private string _mail;

    public string Mail
    {
        get { return _mail; }
        set { _mail = value; }
    }
    private string _detail;

    public string Detail
    {
        get { return _detail; }
        set { _detail = value; }
    }
    private DateTime _date;

    public DateTime Date
    {
        get { return _date; }
        set { _date = value; }
    }

	public DTO_Contactcs()
	{
        _name = "";
        _gender = true;
        _address = "";
        _tell = "";
        _date = DateTime.Now;
        _detail = "";
	}
    public DTO_Contactcs(string name, bool gender, string address, string tell, string mail, string detail, DateTime date)
    {
        _name = name;
        _gender = gender;
        _address = address;
        _tell = tell;
        _mail = mail;
        _detail = detail;
        _date = date;
    }
}